package patterns.behavior.observer;

public class ConcreteSubject extends Subject{
    @Override
    public void notifyObserver() {
        System.out.println("状态发生改变---------");
        for (Observer observer:list) {
            observer.response();
        }
    }
}
